using Nop.Core.Domain.XJ;

namespace Nop.Data.Mapping.XJ
{
	public partial class XJMaintenanceMap : NopEntityTypeConfiguration<XJMaintenance>
	{
		public XJMaintenanceMap()
		{
			this.ToTable("XJMaintenance");
			this.HasKey(c => c.Id);
			this.Property(p => p.SNo).HasMaxLength(32);
			this.Property(p => p.PlaceName).HasMaxLength(50);
			this.Property(p => p.CategoryName).HasMaxLength(50);
			this.Property(p => p.Comment).HasMaxLength(50);
			this.Property(p => p.CustomerName).HasMaxLength(50);
			this.Property(p => p.DepartmentName).HasMaxLength(50);
			this.Property(p => p.ResponsibleTeamName).HasMaxLength(50);
			this.Property(p => p.ResponsiblePersonName).HasMaxLength(50);
			this.Property(p => p.MaintenancePersonNames).HasMaxLength(50);
			this.Property(p => p.MaintenanceComment).HasMaxLength(50);
			this.Property(p => p.Evaluation).HasMaxLength(50);

		}
	}
}

